package com.cpimex.eprice.forms;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

public class UploadForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private FormFile theFile;
	private String str_detalle;
	private String str_cliente;
	private String str_producto;
	private String str_descripcion;

	/**
	 * @return Returns the theFile.
	 */
	public FormFile getTheFile() {
		return theFile;
	}

	/**
	 * @param theFile The FormFile to set.
	 */
	public void setTheFile(FormFile theFile) {
		this.theFile = theFile;
	}

	/**
	 * @return the str_cliente
	 */
	public String getStr_cliente() {
		return str_cliente;
	}

	/**
	 * @param str_cliente the str_cliente to set
	 */
	public void setStr_cliente(String str_cliente) {
		this.str_cliente = str_cliente;
	}

	/**
	 * @return the str_descripcion
	 */
	public String getStr_descripcion() {
		return str_descripcion;
	}

	/**
	 * @param str_descripcion the str_descripcion to set
	 */
	public void setStr_descripcion(String str_descripcion) {
		this.str_descripcion = str_descripcion;
	}

	/**
	 * @return the str_detalle
	 */
	public String getStr_detalle() {
		return str_detalle;
	}

	/**
	 * @param str_detalle the str_detalle to set
	 */
	public void setStr_detalle(String str_detalle) {
		this.str_detalle = str_detalle;
	}

	/**
	 * @return the str_producto
	 */
	public String getStr_producto() {
		return str_producto;
	}

	/**
	 * @param str_producto the str_producto to set
	 */
	public void setStr_producto(String str_producto) {
		this.str_producto = str_producto;
	}
	
	public void reset(ActionMapping mapping, 
						HttpServletRequest request){
		this.str_producto = "";
		this.str_detalle  = "";
		
	}
}
